package genetic_algorithm;

import java.util.List;

/**
 * Interface of the mutation phase in a genetic algorithm
 */
public interface Mutation {

	/**
	 * Mutates given chromosomes according to given rate.
	 * Method updates given chromsome list
	 * @param chromosomes chromosomes to be mutated
	 * @param rate mutation rate
	 */
	public void mutate(List<Chromosome> chromosomes, double rate);
}
